package com.hr.checkrepetition.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Builder
@Data
@TableName("post_check_scope")
public class PostCheckScope implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 内容查重表id
     */
    @TableField("post_check_id")
    private Integer postCheckId;
    /**
     * 检测重复率最高文章的标题或内容
     */
    @TableField("repeat_content")
    private String repeatContent;
    /**
     * 检测重复率最高文章的作者
     */
    @TableField("repeat_author")
    private String repeatAuthor;
    /**
     * 重复率
     */
    @TableField("repetition_rate")
    private BigDecimal repetitionRate;
    /**
     * 检测平台(weibo(微博),douban(豆瓣),zhihu(知乎),tieba(贴吧),lofter)
     */
    private String platform;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;
    /**
     * 文章链接
     */
    @TableField("article_link")
    private String articleLink;

}
